<?php
	defined("AT_EXE") or die ("CORE VARIABLE IS NOT DEFINED.");
	function setRoutes($route){
		$route->setDefault(array("controller" => array("Page"=>"index") ) );
		/* START OF SUPER ADMIN PATH */
		/* START OF Employers path */
		/* START OF Candidate path */
		$route->setRoute(array("controller" => array("Advert"=>"adverts"),"request"=>new Request(array("advert"=>"display"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array("controller" => array("Advert"=>"advertadd"),"request"=>new Request(array("advert"=>"advertadd"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array("controller" => array("Advert"=>"advertedit"),"request"=>new Request(array("advert"=>"advertedit"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array("controller" => array("Advert"=>"save"),"request"=>new Request(array("advert"=>"save"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array("controller" => array("Advert"=>"update"),"request"=>new Request(array("advert"=>"update"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array("controller" => array("Advert"=>"pview"),"request"=>new Request(array("advert"=>"preview"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array("controller" => array("Advert"=>"remove"),"request"=>new Request(array("advert"=>"delete"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array("controller" => array("Advert"=>"adpageindexing"),"request"=>new Request(array("advert"=>"pindexing"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array("controller" => array("Advert"=>"groupads"),"request"=>new Request(array("advert"=>"groupads"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array("controller" => array("Advert"=>"adSwitchIndex"),"request"=>new Request(array("advert"=>"adswitchindex"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		
		$route->setRoute(array( "controller" => array( "Admin"=> "employer" ) , "request" => new Request( array("admin"=>"company")) ) );
		$route->setRoute(array( "controller" => array( "Employer"=> "employers" ) , "request" => new Request( array("employer"=>"display")) ) );
		$route->setRoute(array( "controller" => array( "Employer"=> "admindetail" ) , "request" => new Request( array("employer"=>"admindtl"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Employer"=> "adminaccount" ) , "request" => new Request( array("employer"=>"adaccount"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Employer"=> "adminjobs" ) , "request" => new Request( array("employer"=>"adjob"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Employer"=> "updateStatusRegisterToLogin" ) , "request" => new Request( array("employer"=>"activate")) ) );
		
		$route->setRoute(array( "controller" => array( "Admin"=> "candidate" ) , "request" => new Request( array("admin"=>"seeker")) ) );
		$route->setRoute(array( "controller" => array( "Candidate"=> "candidates" ) , "request" => new Request( array("candidate"=>"display")) ) );
		$route->setRoute(array( "controller" => array( "Candidate"=> "admindetail" ) , "request" => new Request( array("candidate"=>"admindtl"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Candidate"=> "superadminaccount" ) , "request" => new Request( array("candidate"=>"adaccount"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Candidate"=> "adminjobs" ) , "request" => new Request( array("candidate"=>"adjob"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Candidate"=> "adminapplys" ) , "request" => new Request( array("candidate"=>"adapply"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Candidate"=> "adminResumeview" ) , "request" => new Request( array("candidate"=>"adminresumeview"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Admin"=> "report" ) , "request" => new Request( array("admin"=>"report"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array("Admin"=> "mails" ) , "request" => new Request( array("admin"=>"mail"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute( array( "controller" => array("Admin"=>"SendMail" ) , "request" => new Request( array("admin"=>"sendmail"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute( array( "controller" => array("Admin"=>"addMailGroup") , "request" => new Request( array("admin"=>"addgroup"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute( array( "controller" => array("Admin"=>"addNewGroup") , "request" => new Request( array("admin"=>"addnewgroup"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array("Admin"=>"letter" ) , "request" => new Request( array("admin"=>"letter"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array("Admin"=>"SendMailLeter" ) , "request" => new Request( array("admin"=>"sendmailletter"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Admin"=> "subscription" ) , "request" => new Request( array("admin"=>"subscribe"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Admin"=> "posting" ) , "request" => new Request( array("admin"=>"post"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Admin"=> "orderpackage" ) , "request" => new Request( array("admin"=>"order"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Admin"=> "ordersubscription" ) , "request" => new Request( array("admin"=>"ordersubscription"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Admin"=> "credit" ) , "request" => new Request( array("admin"=>"credit"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		
		$route->setRoute(array( "controller" => array( "Admin"=> "advertisement" ) , "request" => new Request( array("admin"=>"ads"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Admin"=> "mainpage" ) , "request" => new Request( array("admin"=>"main"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		
		$route->setRoute(array( "controller" => array( "Admin"=> "job" ) , "request" => new Request( array("admin"=>"seekerjob"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Job"=> "job" ) , "request" => new Request( array("job"=>"display"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Admin"=> "job" ) , "request" => new Request( array("admin"=>"job"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		
		$route->setRoute( array( "controller" => array("Job"=>"RefreshJob" ) , "request" => new Request(array("job"=>"refresh") ) ) );
		$route->setRoute(array( "controller" => array( "Admin"=> "cv" ) , "request" => new Request( array("admin"=>"cv"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Resume"=> "cv" ) , "request" => new Request( array("resume"=>"display"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Job"=> "adminSearchJob" ) , "request" => new Request( array("job"=>"adminsearchjob")) ) );
		
		$route->setRoute(array( "controller" => array( "Admin"=> "posting" ) , "request" => new Request( array("admin"=>"posting"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Post"=> "post" ) , "request" => new Request( array("post"=>"display")) ) );
			
		$route->setRoute(array( "controller" => array( "Admin"=> "subscription" ) , "request" => new Request( array("admin"=>"subscription")) ) );
		$route->setRoute(array( "controller" => array( "Subscription"=> "subscription" ) , "request" => new Request( array("subscription"=>"display")) ) );
		
		$route->setRoute(array( "controller" => array( "Admin"=> "payment" ) , "request" => new Request( array("admin"=>"payment"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		$route->setRoute(array( "controller" => array( "Admin"=> "logout" ) , "request" => new Request( array("admin"=>"signout")) ) );
		$route->setRoute(array( "controller" => array( "Admin"=> "config" ) , "request" => new Request( array("admin"=>"config"),array("level"=>array("admin"=>Session::get("admin")!=null?"admin":""),"controller" => array("admin"=>"index") ) ) ) );
		//$route->setRoute( array( "controller" => array( "Admin"=> "setConfig" ) , "request" => new Request( array("admin"=>"setconfig")) ) );
		//$route->setRoute( array( "controller" => array( "Admin"=> "updateconfigpage" ) , "request" => new Request( array("admin"=>"updateconfigpage")) ) );
		$route->setRoute(array( "controller" => array( "Admin"=> "updateConfig" ) , "request" => new Request( array("admin"=>"updateconfig")) ) );
		
		/* END OF ADMIN PATH */
		$route->setRoute(array("controller" => array("Candidate"=>"adminPage"),"request"=>new Request(array("candidate"=>"index"),array("level"=>array("candidate"=>Session::get("candidate")!=null?"candidate":""),"controller" => array("candidate"=>"loginpage") ) ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"adminAccount"),"request"=>new Request(array("candidate"=>"account") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"adminResume"),"request"=>new Request(array("candidate"=>"resume") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"adminJob"),"request"=>new Request(array("candidate"=>"adminjob") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"checkMailForgetPasswod"),"request"=>new Request(array("candidate"=>"forgetval") ) ) );
		$route->setRoute(array("controller" => array( "Candidate"=> "record" ) , "request" => new Request( array("candidate"=>"record")) ) );
		$route->setRoute(array( "controller" => array( "Candidate"=> "updateStatusRegisterToLogin" ) , "request" => new Request( array("candidate"=>"activate")) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"help"),"request"=>new Request(array("candidate"=>"help") ) ) );
		// Allow user to login to admin
		$route->setRoute(array( "controller" => array( "Admin" => "index" ) , "request" => new Request( array("admin"=>"index")) ) );
		$route->setRoute(array( "controller" => array( "Admin"=> "login" ) , "request" => new Request( array("admin"=>"signin")) ) );
		
		// search job at no member site
		$route->setRoute(array( "controller" => array( "Page"=> "searchall" ) , "request" => new Request( array("page"=>"search")) ) );
		$route->setRoute(array( "controller" => array( "Page"=> "standardjob" ) , "request" => new Request( array("page"=>"standard")) ) );
		$route->setRoute(array( "controller" => array( "Page"=> "premiumjob" ) , "request" => new Request( array("page"=>"premium")) ) );
		
		/* START OF FRONT PATH */
		$route->setRoute(array( "controller" => array("At_template"=>"Manager" ) , "request" => new Request(array("page"=>"Atindex") ) ) );
		$route->setRoute(array( "controller" => array("Mypage"=>"mainpage" ) , "request" => new Request(array("page"=>"indexme") ) ) );
		$route->setRoute(array( "controller" => array("Home"=>"call" ) , "request" => new Request(array("page"=>"myindex") ) ) );	
		$route->setRoute(array( "controller" => array("Page"=>"mainpage" ) , "request" => new Request(array("page"=>"home") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"index" ) , "request" => new Request(array("page"=>"home") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"product" ) , "request" => new Request(array("page"=>"product") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"about" ) , "request" => new Request(array("page"=>"aboutus") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"contact" ) , "request" => new Request(array("page"=>"contact") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"disclaimer" ) , "request" => new Request(array("page"=>"disclaimer") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"supportrequest" ) , "request" => new Request(array("page"=>"support_request") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"feedback" ) , "request" => new Request(array("page"=>"feedback") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"scoring" ) , "request" => new Request(array("page"=>"scoring") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"help" ) , "request" => new Request(array("page"=>"help") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"luckydraw" ) , "request" => new Request(array("page"=>"luckydraw") ) ) );
		/* route for cv guideline */
		$route->setRoute(array( "controller" => array("Page"=>"cv_template" ) , "request" => new Request(array("page"=>"cv_template") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cv_sample_standard" ) , "request" => new Request(array("page"=>"cv_sample_standard") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cv_sample" ) , "request" => new Request(array("page"=>"cv_sample") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cv_classic" ) , "request" => new Request(array("page"=>"cv_classic") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cv_traditional" ) , "request" => new Request(array("page"=>"cv_traditional") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cv_professional" ) , "request" => new Request(array("page"=>"cv_professional") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cv_contemporary" ) , "request" => new Request(array("page"=>"cv_classic") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cv_sample_contemporary" ) , "request" => new Request(array("page"=>"cv_sample_contemporary") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cv_contemporary" ) , "request" => new Request(array("page"=>"cv_contemporary") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cv_empasis" ) , "request" => new Request(array("page"=>"cv_empasis") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cv_executive" ) , "request" => new Request(array("page"=>"cv_executive") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cv_standard" ) , "request" => new Request(array("page"=>"cv_standard") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cover_letter_template" ) , "request" => new Request(array("page"=>"cl_template") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cover_letter_internship" ) , "request" => new Request(array("page"=>"cl_template_internship") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cover_letter_template_general_purpose" ) , "request" => new Request(array("page"=>"cl_template_general_purpose") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cv_classic" ) , "request" => new Request(array("page"=>"cv_classic") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cover_letter_sample" ) , "request" => new Request(array("page"=>"cl_sample") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cover_letter_teacher_professional" ) , "request" => new Request(array("page"=>"cl_teacher_professional") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cover_letter_space_saver" ) , "request" => new Request(array("page"=>"cl_space_saver") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cover_letter_professional_business" ) , "request" => new Request(array("page"=>"cl_professional_business") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cover_letter_modern_reception" ) , "request" => new Request(array("page"=>"cl_modern_reception") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cover_letter_driver_classic" ) , "request" => new Request(array("page"=>"cl_driver_classic") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cover_letter_driver_modern" ) , "request" => new Request(array("page"=>"cl_driver_modern") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cover_letter_driver_professional" ) , "request" => new Request(array("page"=>"cl_driver_professional") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cover_letter_baker_traditional" ) , "request" => new Request(array("page"=>"cl_baker_traditional") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cover_letter_baker_modern" ) , "request" => new Request(array("page"=>"cl_baker_modern") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cover_letter_baker_executive" ) , "request" => new Request(array("page"=>"cl_baker_executive") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"job_tip" ) , "request" => new Request(array("page"=>"job_tip") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"resume_tip" ) , "request" => new Request(array("page"=>"cv_tip") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cover_letter_tip" ) , "request" => new Request(array("page"=>"cl_tip") ) ) );
		
		$route->setRoute(array( "controller" => array("Page"=>"seeker" ) , "request" => new Request(array("page"=>"jobseeker") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"employer" ) , "request" => new Request(array("page"=>"employer") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"product" ) , "request" => new Request(array("page"=>"product") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"service" ) , "request" => new Request(array("page"=>"service") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"recruitment" ) , "request" => new Request(array("page"=>"recruitment") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"cvscreening" ) , "request" => new Request(array("page"=>"cvscreening") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"jobposting" ) , "request" => new Request(array("page"=>"jobposting") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"advertisewithus" ) , "request" => new Request(array("page"=>"advertisewithus") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"trainingdevelopement" ) , "request" => new Request(array("page"=>"trainingdevelopement") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"policyprocedure" ) , "request" => new Request(array("page"=>"policyprocedure") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"knowledge" ) , "request" => new Request(array("page"=>"knowledge_base") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"university" ) , "request" => new Request(array("page"=>"university") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"writeFormalCv" ) , "request" => new Request(array("page"=>"write_formal_cv") ) ) );
		
		$route->setRoute(array( "controller" => array("Page"=>"scholarship" ) , "request" => new Request(array("page"=>"scholarship") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"university" ) , "request" => new Request(array("page"=>"university") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"website" ) , "request" => new Request(array("page"=>"website") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"index" ) , "request" => new Request(array("page"=>"index") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"registerdisplay" ) , "request" => new Request(array("page"=>"registerdisplay") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"displaypostemployer" ) , "request" => new Request(array("page"=>"displayemployer") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"register" ) , "request" => new Request(array("page"=>"register") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"view" ) , "request" => new Request(array("page"=>"view") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"destroyCan" ) , "request" => new Request(array("page"=>"destroycan") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"destroyEmp" ) , "request" => new Request(array("page"=>"destroyemp") ) ) );
		
		$route->setRoute(array( "controller" => array("Page"=>"addNew" ) , "request" => new Request(array("page"=>"new") ) ) );
		
		$route->setRoute(array( "controller" => array("Resume"=>"upattachment" ) , "request" => new Request(array("resume"=>"upattach") ) ) );

		//$route->setRoute( array( "controller" => array("Page"=>"index") , "request" => new Request(array("page"=>"index") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"delete" ) , "request" => new Request(array("page"=>"delete") ) ) );
		$route->setRoute(array( "controller" => array("SaveResume"=>"deleteresume" ) , "request" => new Request(array("page"=>"deletecv") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"saveEdit" ) , "request" => new Request(array("page"=>"saveedit") ) ) );
		$route->setRoute(array( "controller" => array("Page"=>"edit" ) , "request" => new Request(array("page"=>"edit") ) ) );
		
		/*
			search premium
		*/
		/**
		 * route for candidate page
		 */
		$route->setRoute(array("controller" => array("Candidate"=>"loginPage"),"request"=>new Request(array("candidate"=>"loginpage") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"Captcha"),"request"=>new Request(array("captcha"=>"code") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"registerPage"),"request"=>new Request(array("candidate"=>"registerpage") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"save"),"request"=>new Request(array("candidate"=>"save") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"registerAjax"),"request"=>new Request(array("candidate"=>"regpro") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"forgotPage"),"request"=>new Request(array("candidate"=>"forgotpage") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"resetPage"),"request"=>new Request(array("candidate"=>"resetpage") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"accountPage"),"request"=>new Request(array("candidate"=>"accountpage") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"searchjobajax"),"request"=>new Request(array("candidate"=>"adminjobajax") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"update"),"request"=>new Request(array("candidate"=>"update") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"remove"),"request"=>new Request(array("candidate"=>"remove") ) ) );	
		$route->setRoute(array("controller" => array("Candidate"=>"logout"),"request"=>new Request(array("candidate"=>"logout") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"reset"),"request"=>new Request(array("candidate"=>"reset") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"login"),"request"=>new Request(array("candidate"=>"login") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"applyPage"),"request"=>new Request(array("candidate"=>"applypage") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"applyJob"),"request"=>new Request(array("candidate"=>"apply") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"ajaxlogin"),"request"=>new Request(array("candidate"=>"alogin") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"job"),"request"=>new Request(array("candidate"=>"job") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"savejob"),"request"=>new Request(array("candidate"=>"savejob") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"searchJob" ) , "request" => new Request(array("candidate"=>"seekersearchjob") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"edit" ) , "request" => new Request(array("candidate"=>"editpost") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"unsavejob" ) , "request" => new Request(array("candidate"=>"unsavejob") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"share" ) , "request" => new Request(array("candidate"=>"sharejob") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"Subscript" ) , "request" => new Request(array("candidate"=>"subscript") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"join" ) , "request" => new Request(array("candidate"=>"join") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"forgot" ) , "request" => new Request(array("candidate"=>"forgot") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"sendMail" ) , "request" => new Request(array("candidate"=>"sendmail") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"selectFavoriteJob" ) , "request" => new Request(array("candidate"=>"favoritejob") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"UnfavoriteJob" ) , "request" => new Request(array("candidate"=>"unfavoritejob") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"overview" ) , "request" => new Request(array("candidate"=>"overview") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"Unsubcription" ) , "request" => new Request(array("candidate"=>"unsubscript") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"UnsubcriptionMain" ) , "request" => new Request(array("candidate"=>"unsubscriptmain") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"resetFromMail" ) , "request" => new Request(array("candidate"=>"reset_from_mail") ) ) );
		$route->setRoute(array("controller" => array("Candidate"=>"newPasswordForgot" ) , "request" => new Request(array("candidate"=>"newPassForgot") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"searchFavoriteJob" ) , "request" => new Request(array("candidate"=>"searchfavoritejob") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"viewSub" ) , "request" => new Request(array("candidate"=>"viewsub") ) ) );
		$route->setRoute(array( "controller" => array("Candidate"=>"checkMail" ) , "request" => new Request(array("candidate"=>"checkmail") ) ) );
		$route->setRoute( array( "controller" => array("Candidate"=>"pview" ) , "request" => new Request(array("candidate"=>"preview") ) ) );
$route->setRoute(array("controller" => array("Candidate"=>"checkUserNameCan" ) , "request" => new Request(array("candidate"=>"checkUserNameCan") ) ) );
		/**
		 * route for employer page 
		 */
		$route->setRoute(array("controller" => array("Employer"=>"admin"),"request"=>new Request(array("employer"=>"index"),array("level"=>array("employer"=>Session::get("employer")!=null?"employer":""),"controller" => array("employer"=>"loginpage") ) ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"accountPage"),"request"=>new Request(array("employer"=>"accountpage"),array("level"=>array("employer"=>Session::get("employer")!=null?"employer":""),"controller" => array("employer"=>"loginpage") ) ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"forgotPage"),"request"=>new Request(array("employer"=>"forgotpage") ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"loginPage"),"request"=>new Request(array("employer"=>"loginpage") ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"registerPage"),"request"=>new Request(array("employer"=>"registerpage") ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"resetPage"),"request"=>new Request(array("employer"=>"resetpage") ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"save"),"request"=>new Request(array("employer"=>"save"),array("level"=>array("employer"=>Session::get("employer")!=null?"employer":""),"controller" => array("employer"=>"loginpage") ) ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"registerAjax"),"request"=>new Request(array("employer"=>"regpro") ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"update"),"request"=>new Request(array("employer"=>"update"),array("level"=>array("employer"=>Session::get("employer")!=null?"employer":""),"controller" => array("employer"=>"loginpage") ) ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"reset"),"request"=>new Request(array("employer"=>"reset") ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"forgot"),"request"=>new Request(array("employer"=>"forgot") ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"remove"),"request"=>new Request(array("employer"=>"remove") ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"login"),"request"=>new Request(array("employer"=>"login") ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"logout"),"request"=>new Request(array("employer"=>"logout") ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"resetFromMail" ) , "request" => new Request(array("employer"=>"reset_from_mail") ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"newPasswordForgot" ) , "request" => new Request(array("employer"=>"newPassForgot") ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"checkUserNameEm" ) , "request" => new Request(array("employer"=>"checkUserNameEm") ) ) );
        $route->setRoute(array("controller" => array("Employer"=>"checkEmailEm" ) , "request" => new Request(array("employer"=>"checkEmailEm") ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"checkMailForgetPasswod"),"request"=>new Request(array("employer"=>"forgetval") ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"messageActivate"),"request"=>new Request(array("employer"=>"actmsg") ) ) );
/**
		 * Author By chamnan 
		 */
		$route->setRoute( array( "controller" => array("Job"=>"saveWithoutPublish" ) , "request" => new Request(array("job"=>"savewithoutpublish") ) ) );
		$route->setRoute( array( "controller" => array("Job"=>"updateAndPublish" ) , "request" => new Request(array("job"=>"updateandpublish") ) ) );
		/*
		 * Employer 
		 * author: Phon Pisey
		 */
		$route->setRoute(array("controller" => array("Employer"=>"jobView"),"request"=>new Request(array("employer"=>"jobview"),array("level"=>array("employer"=>Session::get("employer")!=null?"employer":""),"controller" => array("employer"=>"loginpage") ) ) ) );
		$route->setRoute(array("controller" => array("Employer"=>"view"),"request"=>new Request(array("employer"=>"view") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"ChoosePosting" ) , "request" => new Request(array("employer"=>"chooseposting") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"PostJob" ) , "request" => new Request(array("employer"=>"postjob") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"publish" ) , "request" => new Request(array("employer"=>"publish") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"Subscript" ) , "request" => new Request(array("employer"=>"subscript") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"loginFromMail" ) , "request" => new Request(array("employer"=>"loginform") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"loginViewCV" ) , "request" => new Request(array("employer"=>"loginviewcv") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"logoutViewCV" ) , "request" => new Request(array("employer"=>"logoutviewcv") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"forgot" ) , "request" => new Request(array("employer"=>"forgot") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"sendMail" ) , "request" => new Request(array("employer"=>"sendmail") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"follow" ) , "request" => new Request(array("employer"=>"follow") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"unfollow" ) , "request" => new Request(array("employer"=>"unfollow") ) ) );
		
		/* start developer: dim sidet  */
		$route->setRoute( array( "controller" => array("Job"=>"index" ) , "request" => new Request(array("job"=>"displaypost") ) ) );
		$route->setRoute( array( "controller" => array("Job"=>"display" ) , "request" => new Request(array("job"=>"viewpost") ) ) );
		//echo "=>". Session::get("employer")."<=";
		$route->setRoute( array( "controller" => array("Job"=>"addNew" ) , "request" => new Request(array("job"=>"newpost"),array("level"=>array("employer"=>Session::get("employer")!=null?"employer":""),"controller" => array("employer"=>"loginpage") ) ) ) );
		$route->setRoute( array( "controller" => array("Job"=>"delete" ) , "request" => new Request(array("job"=>"deletepost") ) ) );
		$route->setRoute( array( "controller" => array("Job"=>"saveEdit" ) , "request" => new Request(array("job"=>"saveeditpost"),array("level"=>array("employer"=>Session::get("employer")!=null?"employer":""),"controller" => array("employer"=>"loginpage") ) ) ) );
		$route->setRoute( array( "controller" => array("Job"=>"edit" ) , "request" => new Request(array("job"=>"editpost") ) ) );
		$route->setRoute( array( "controller" => array("Job"=>"test" ) , "request" => new Request(array("job"=>"test") ) ) );
		$route->setRoute( array( "controller" => array("Job"=>"viewJob" ) , "request" => new Request(array("job"=>"view") ) ) );
		$route->setRoute( array( "controller" => array("Job"=>"searchJob" ) , "request" => new Request(array("seeker"=>"seekersearchjob") ) ) );
		$route->setRoute( array( "controller" => array("Job"=>"showJob" ) , "request" => new Request(array("post"=>"view") ) ) );
		$route->setRoute( array( "controller" => array("Job"=>"selectSaveJob" ) , "request" => new Request(array("seeker"=>"seekersavejob") ) ) );
		$route->setRoute( array( "controller" => array("Job"=>"detail" ) , "request" => new Request(array("job"=>"detail") ) ) );
		$route->setRoute( array( "controller" => array("Job"=>"pview" ) , "request" => new Request(array("job"=>"preview") ) ) );
		$route->setRoute( array( "controller" => array("Job"=>"approve" ) , "request" => new Request(array("job"=>"approve") ) ) );
		
		$route->setRoute( array( "controller" => array("Job"=>"save" ) , "request" => new Request(array("job"=>"addjob") ) ) );
		$route->setRoute( array( "controller" => array("Job"=>"overviewApplyJob" ) , "request" => new Request(array("seeker"=>"overviewapply") ) ) );
		$route->setRoute( array( "controller" => array("Job"=>"updateJobInadmin" ) , "request" => new Request(array("job"=>"updateJobInadmin") ) ) );
		/**
		 * Author By Pisey
		 */
		$route->setRoute( array( "controller" => array("Job"=>"saveJob" ) , "request" => new Request(array("job"=>"savejob") ) ) );
		/*Resume ,(Post)  */
		$route->setRoute( array( "controller" => array("Resume"=>"main") , "request" => new Request(array("resume"=>"viewcv") ) ) );
		$route->setRoute( array( "controller" => array("Resume"=>"Editrem" ) , "request" => new Request(array("resume"=>"editcv"),array("level"=>array("candidate"=>(Session::get("candidate")!="")?"candidate":""),"controller" => array("candidate"=>"loginpage") ) ) ) );
		$route->setRoute( array( "controller" => array("Resume"=>"view" ) , "request" => new Request(array("resume"=>"view") ) ) );
		$route->setRoute( array( "controller" => array("Resume"=>"download" ) , "request" => new Request(array("resume"=>"download") ) ) );
		$route->setRoute( array( "controller" => array("Resume"=>"saveEdit") , "request" => new Request(array("resume"=>"saveditrem"))));
		$route->setRoute( array( "controller" => array("Resume"=>"findcv") , "request" => new Request(array("resume"=>"findcv"))));
		$route->setRoute( array( "controller" => array("Resume"=>"addnewresume") , "request" => new Request(array("resume"=>"viewnewresume"))));
		$route->setRoute( array( "controller" => array("Resume"=>"addNew") , "request" => new Request(array("resume"=>"addnew"))));
		$route->setRoute( array( "controller" => array("Resume"=>"detailCan") , "request" => new Request(array("resume"=>"detailcandidat")))); 
		$route->setRoute( array( "controller" => array("Resume"=>"funFileUpload") , "request" => new Request(array("resume"=>"funfileupload"))));
		/* Mr. Phireak */
		$route->setRoute(array( "controller" => array("Resume"=>"buyResume") , "request" => new Request(array("resume"=>"buyresume"),array("level"=>array("employer"=>Session::get("employer")!=null?"employer":""),"controller" => array("employer"=>"loginpage") ) ) ) );
		$route->setRoute(array("controller" => array("Resume"=>"application"),"request"=>new Request(array("resume"=>"application") ) ) );
		$route->setRoute(array("controller" => array("Resume"=>"unapply"),"request"=>new Request(array("resume"=>"unapply") ) ) );
		$route->setRoute(array( "controller" => array("SaveResume"=>"load"), "request" => new Request(array("empresume"=>"displaylist"),array("level"=>array("employer"=>Session::get("employer")!=null?"employer":""),"controller" => array("employer"=>"loginpage") ) ) ) );
		$route->setRoute( array( "controller" => array("SaveResume"=>"delete" ) , "request" => new Request(array("empresume"=>"deletecv") ) ) );
		$route->setRoute(array( "controller" => array("SaveResume"=>"savecv"), "request" => new Request(array("empresume"=>"savecv"))));
		$route->setRoute(array( "controller" => array("SaveResume"=>"displaycv"), "request" => new Request(array("empresume"=>"viewcv"),array("level"=>array("employer"=>Session::get("employer")!=null?"employer":""),"controller" => array("employer"=>"loginpage") ) ) ) );
		$route->setRoute(array( "controller" => array("SaveResume"=>"Applyjob"), "request" => new Request(array("empresume"=>"applyjob"))));
		$route->setRoute(array( "controller" => array("SaveResume"=>"searching"), "request" => new Request(array("empresume"=>"search"))));
		
		
		
		/*Employer Register ,(Employer) name of Controller file,(addNew) name of Action method in Controller, (newemployer) name of page in folder  view/element/backend/job/newnewemployer.at  */
		$route->setRoute( array( "controller" => array("Employer"=>"index" ) , "request" => new Request(array("employer"=>"displayemployer") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"display" ) , "request" => new Request(array("employer"=>"viewemployer") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"addNew" ) , "request" => new Request(array("employer"=>"newemployer") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"delete" ) , "request" => new Request(array("employer"=>"deleteemployer") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"saveEdit" ) , "request" => new Request(array("employer"=>"saveeditemployer") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"edit" ) , "request" => new Request(array("employer"=>"editemployer") ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"accountPage" ) , "request" => new Request(array("employer"=>"account"),array("level"=>array("employer"=>Session::get("employer")!=null?"employer":""),"controller" => array("employer"=>"loginpage") ) ) ) );
		$route->setRoute( array( "controller" => array("Employer"=>"sendExpireJobToEmployee" ) , "request" => new Request(array("employer"=>"expiredjob") ) ) );
		/* end developer: dim sidet  */
		
		/*Tests*/
		$route->setRoute( array( "controller" => array("Test"=>"index" ) , "request" => new Request(array("test"=>"displaytest") ) ) );
		$route->setRoute( array( "controller" => array("Test"=>"saveEdit" ) , "request" => new Request(array("test"=>"saveedittest") ) ) );
		$route->setRoute( array( "controller" => array("Test"=>"edit" ) , "request" => new Request(array("test"=>"edittest") ) ) );
		/* End Tests*/
		

		/* CRUD Post*/
		$route->setRoute( array( "controller" => array("Post"=>"DisplayAdmin" ) , "request" => new Request(array("post"=>"displayadmin") ) ) );
		$route->setRoute( array( "controller" => array("Post"=>"DisplayFront" ) , "request" => new Request(array("post"=>"displayfront") ) ) );
		$route->setRoute( array( "controller" => array("Post"=>"GetField" ) , "request" => new Request(array("post"=>"getfield") ) ) );
		$route->setRoute( array( "controller" => array("Post"=>"SaveEdit" ) , "request" => new Request(array("post"=>"saveedit") ) ) );
		$route->setRoute( array( "controller" => array("Post"=>"delete" ) , "request" => new Request(array("post"=>"delete") ) ) );
		$route->setRoute( array( "controller" => array("Post"=>"approve" ) , "request" => new Request(array("post"=>"approve") ) ) );
		$route->setRoute( array( "controller" => array("Post"=>"ActionAll" ) , "request" => new Request(array("post"=>"actionall") ) ) );
		$route->setRoute( array( "controller" => array("Post"=>"delete" ) , "request" => new Request(array("post"=>"delete") ) ) );
		
		//sopheak post
		$route->setRoute( array( "controller" => array("Post"=>"DisplayAdminPostWaiting" ) , "request" => new Request(array("post"=>"displayadminpostwaiting") ) ) );
		$route->setRoute( array( "controller" => array("Post"=>"DisplayAdminNonApprovePost" ) , "request" => new Request(array("post"=>"displayadminnonapprovedpost") ) ) );
		$route->setRoute( array( "controller" => array("Post"=>"AdminPostNewJob" ) , "request" => new Request(array("post"=>"adminpostnewjob") ) ) );
		$route->setRoute( array( "controller" => array("Post"=>"AddNew" ) , "request" => new Request(array("post"=>"addnew") ) ) );
		$route->setRoute( array( "controller" => array("Post"=>"SavePost" ) , "request" => new Request(array("post"=>"savepost") ) ) );
		
		/*Package and Order Point*/
		$route->setRoute( array( "controller" => array("Package"=>"DisplayFront" ) , "request" => new Request(array("package"=>"displayfront"),array("level"=>array("employer"=>Session::get("employer")!=null?"employer":""),"controller" => array("employer"=>"loginpage") ) ) ) );
		$route->setRoute( array( "controller" => array("Package"=>"InsertMembership" ) , "request" => new Request(array("package"=>"savepackage") ) ) );
		$route->setRoute( array( "controller" => array("Package"=>"UpdateStatus" ) , "request" => new Request(array("package"=>"updatestatus") ) ) );
		$route->setRoute( array( "controller" => array("Package"=>"delete" ) , "request" => new Request(array("package"=>"delete") ) ) );
		$route->setRoute( array( "controller" => array("Package"=>"GetField" ) , "request" => new Request(array("package"=>"getfield") ) ) );
		$route->setRoute( array( "controller" => array("Package"=>"save" ) , "request" => new Request(array("package"=>"save") ) ) );
		$route->setRoute( array( "controller" => array("Package"=>"DisplayAdmin" ) , "request" => new Request(array("package"=>"displayadmin") ) ) );
		$route->setRoute( array( "controller" => array("Package"=>"SaveEdit" ) , "request" => new Request(array("package"=>"saveedit") ) ) );
		$route->setRoute( array( "controller" => array("Package"=>"AddNew" ) , "request" => new Request(array("package"=>"addnew") ) ) );
		
		/*Currency Exchange*/
		$route->setRoute( array( "controller" => array("CurrencyExchange"=>"AddNew" ) , "request" => new Request(array("currencyexchange"=>"addnew") ) ) );
		$route->setRoute( array( "controller" => array("CurrencyExchange"=>"save" ) , "request" => new Request(array("currencyexchange"=>"save") ) ) );
		$route->setRoute( array( "controller" => array("CurrencyExchange"=>"DisplayAdmin" ) , "request" => new Request(array("currencyexchange"=>"displayadmin") ) ) );
		$route->setRoute( array( "controller" => array("CurrencyExchange"=>"SaveEdit" ) , "request" => new Request(array("currencyexchange"=>"saveedit") ) ) );
		$route->setRoute( array( "controller" => array("CurrencyExchange"=>"GetField" ) , "request" => new Request(array("currencyexchange"=>"getfield") ) ) );
		$route->setRoute( array( "controller" => array("CurrencyExchange"=>"delete" ) , "request" => new Request(array("currencyexchange"=>"delete") ) ) );
		
		/*Currency*/
		$route->setRoute( array( "controller" => array("Currency"=>"save" ) , "request" => new Request(array("currency"=>"save") ) ) );
		$route->setRoute( array( "controller" => array("Currency"=>"GetField" ) , "request" => new Request(array("currency"=>"getfield") ) ) );
		$route->setRoute( array( "controller" => array("Currency"=>"DisplayAdmin" ) , "request" => new Request(array("currency"=>"displayadmin") ) ) );
		$route->setRoute( array( "controller" => array("Currency"=>"AddNew" ) , "request" => new Request(array("currency"=>"addnew") ) ) );
		$route->setRoute( array( "controller" => array("Currency"=>"saveEdit" ) , "request" => new Request(array("currency"=>"saveedit") ) ) );
		$route->setRoute( array( "controller" => array("Currency"=>"delete" ) , "request" => new Request(array("currency"=>"delete") ) ) );
		
		/* Order */
		$route->setRoute( array( "controller" => array("Order"=>"DisplayAdminOrder" ) , "request" => new Request(array("order"=>"displayadminorder") ) ) );
		$route->setRoute( array( "controller" => array("Order"=>"ActionAll" ) , "request" => new Request(array("order"=>"actionall") ) ) );
		$route->setRoute( array( "controller" => array("Order"=>"SaveEdit" ) , "request" => new Request(array("order"=>"saveedit") ) ) );
		$route->setRoute( array( "controller" => array("Order"=>"DisplayAdminPostOrder" ) , "request" => new Request(array("order"=>"displayadminpostorder") ) ) );
		
		/*Package Order*/
		$route->setRoute( array( "controller" => array("Order"=>"DisplayAdminPackageOrder" ) , "request" => new Request(array("order"=>"packageorder") ) ) );
		$route->setRoute( array( "controller" => array("Order"=>"ActionAllPackage" ) , "request" => new Request(array("order"=>"actionallpackage") ) ) );
		$route->setRoute( array( "controller" => array("Order"=>"DeletePackageOrder" ) , "request" => new Request(array("order"=>"deletepackageorder") ) ) );
		$route->setRoute( array( "controller" => array("Order"=>"SaveEditPackage" ) , "request" => new Request(array("order"=>"saveedit") ) ) );
		$route->setRoute( array( "controller" => array("Order"=>"approve_order_package" ) , "request" => new Request(array("order"=>"approve") ) ) );
		$route->setRoute( array( "controller" => array("Order"=>"disapprove_order_package" ) , "request" => new Request(array("order"=>"disapprove") ) ) );
		$route->setRoute( array( "controller" => array("Order"=>"showSearch" ) , "request" => new Request(array("order"=>"showsearch") ) ) );
		
		/*Subscription Order*/
		$route->setRoute( array( "controller" => array("Order"=>"DisplayAdminSubscriptionOrder" ) , "request" => new Request(array("order"=>"subscriptionorder") ) ) );
		$route->setRoute( array( "controller" => array("Order"=>"ActionAllSubscription" ) , "request" => new Request(array("order"=>"actionallsubscription") ) ) );
		$route->setRoute( array( "controller" => array("Order"=>"DeleteSubscriptinOrder" ) , "request" => new Request(array("order"=>"deletesucriptionorder") ) ) );
		$route->setRoute( array( "controller" => array("Order"=>"SaveEditSubscription" ) , "request" => new Request(array("order"=>"saveedit") ) ) );
		$route->setRoute( array( "controller" => array("Order"=>"approve_order_sub" ) , "request" => new Request(array("order"=>"approvesub") ) ) );
		$route->setRoute( array( "controller" => array("Order"=>"disapprove_order_sub" ) , "request" => new Request(array("order"=>"disapprovesub") ) ) );
		$route->setRoute( array( "controller" => array("Order"=>"showSearchSub" ) , "request" => new Request(array("order"=>"showsearchsub") ) ) );
		/*Subscription*/
		$route->setRoute( array( "controller" => array("Subscription"=>"DisplayFront" ) , "request" => new Request(array("subscription"=>"displayfront"),array("level"=>array("employer"=>Session::get("employer")!=null?"employer":""),"controller" => array("employer"=>"loginpage") ) ) ) );
		$route->setRoute( array( "controller" => array("Subscription"=>"InsertMembership" ) , "request" => new Request(array("subscription"=>"savesubscription") ) ) );
		$route->setRoute( array( "controller" => array("Subscription"=>"UpdateStatus" ) , "request" => new Request(array("subscription"=>"updatestatus") ) ) );
		$route->setRoute( array( "controller" => array("Subscription"=>"AddNew" ) , "request" => new Request(array("subscription"=>"addnew") ) ) );
		
		
		$route->setRoute( array( "controller" => array("Subscription"=>"DisplayAdmin" ) , "request" => new Request(array("subscription"=>"displayadmin") ) ) );
		$route->setRoute( array( "controller" => array("Subscription"=>"save" ) , "request" => new Request(array("subscription"=>"save") ) ) );
		$route->setRoute( array( "controller" => array("Subscription"=>"saveEdit" ) , "request" => new Request(array("subscription"=>"saveedit") ) ) );
		$route->setRoute( array( "controller" => array("Subscription"=>"DisplayFront" ) , "request" => new Request(array("subscription"=>"displayfront") ) ) );
		$route->setRoute( array( "controller" => array("Subscription"=>"delete" ) , "request" => new Request(array("subscription"=>"delete") ) ) );
		$route->setRoute( array( "controller" => array("Subscription"=>"GetField" ) , "request" => new Request(array("subscription"=>"getfield") ) ) );
		

		/* END OF FRONT PATH */
		
		
		$route->setRoute( array( "controller" => array( "Gallery"=> "index" ) , "request" => new Request( array("gallery"=>"index")) ) );
		$route->setRoute( array( "controller" => array( "Gallery"=> "upload" ) , "request" => new Request( array("gallery"=>"upload")) ) );
		$route->setRoute( array( "controller" => array( "Gallery"=> "delete" ) , "request" => new Request( array("gallery"=>"delete")) ) );
		/* START GALLERY PATH */
		/* END GALLERY PATH */
	return $route;
	}
